.menu {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  padding: 0 10px;
  position: absolute;
  left: -12px;
}

.menu-item > a {
  display: block;
  width: 100px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.menu-item:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}

.menu:before {
  content: '';
  position: absolute;
  top: -14px;
  left: 41%;
  border: 7px solid transparent;
  border-bottom-color: rgba(0, 0, 0, .2);
}

.menu:after {
  content: '';
  position: absolute;
  top: -12px;
  left: 42%;
  display: inline-block;
  border: 6px solid transparent;
  border-bottom: 6px solid #fff;
}
